<?php

namespace App\Console;

use App\Console\Commands\GeneratedUid;
use Illuminate\Console\Scheduling\Schedule;
use Laravel\Lumen\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        //supervisorctl脚本
        Commands\ConsumerBagGiftSendBatch::class, //背包礼物批量赠送
        Commands\ConsumerUserRoomBanner::class, //用户房间banner
        Commands\ConsumerSendgiftasynWealthcharm::class, //送礼物异步处理-财富值魅力值
        Commands\ConsumerSendgiftasynComplex::class, //送礼物异步处理-复杂礼物处理
        Commands\ConsumerSendgiftasynGame::class, //送礼物异步处理-游戏
        Commands\ConsumerHotGiftCard::class,//背包送礼异步处理热度卡
        Commands\ConsumerRoomPaiPai::class, //拍拍房处理麦位变化通知
        Commands\ConsumerNewLuckGift::class, //新幸运礼物
        Commands\ConsumerNewLuckGiftIm::class, //新幸运礼物公屏和礼物IM
        Commands\ConsumerAngerBird::class,//愤怒的小鸟每局数据处理


        GeneratedUid::class,
        Commands\GeneratedRoomUid::class,//生成房间注册UID
        Commands\UpdateOrInsertRoom::class,
        Commands\ConsumerMqTest::class,
        Commands\GeneratedUnionUid::class,
        Commands\GeneratedGroupChatUid::class,
        Commands\HandelContentWord::class,
        Commands\HandelContentWordFilter::class,
        Commands\CreateMonthStream::class,
        // Commands\UpdateCloudAccountStatus::class,//主动查询云账户订单状态
        // Commands\AntiFraud\ConsumerRegister::class,
        Commands\InitOnlineUserCache::class,
        Commands\InitCoolNumber::class,
        Commands\UpdateMaxGoldDataCommand::class,
        // Commands\SendPropByUuid::class,//批量赠送用户道具
        Commands\CheckUidList::class,//检测uidDB数据是否需要补充
        Commands\UserCancle::class,//用户注销
        // Commands\UserGoodsIncome::class,//可升级商品(坐骑)佩戴升级
        Commands\CloseAllOpenedRoom::class,// 关闭所有房间 add by zxiaofee
        Commands\CloseAllVolume::class,// 全员闭麦 add by zxiaofee

        Commands\Queue::class,// 任务
        Commands\CreateSmallRoom::class,//手动创建小屋

        Commands\OpenRoomForIos::class, //为了ios审核持续开房间

        //定时任务脚本
        Commands\CommandKeepRongCloudRoom::class,//保活融云聊天室
        Commands\CommandKeepAliveChat::class,//保活聊天室
        Commands\CommandUpdateEsRoomDataTask::class,//更新es房间数据
        Commands\CommandClearWaitClose::class,//清理待删除房间
        Commands\CommandSetOnlineTime::class,//更新开厅时长
        Commands\CommandSetRoomhot::class,//更新房间热度和开启时长
        Commands\UnionRoomWeekReward::class, //公会房间周结算奖励 每周一执行
        Commands\UnionSettleCommand::class, //对公结算数据生成 每周一执行
        Commands\DailyStatistics::class, //每日统计
        Commands\KovStatistics::class, //kov数据统计
        Commands\CommandGetUserGift::class, //用户剩余量数据统计
        // Commands\AgentdAutoCronTabCommand::class, //代理金豆红包自动领取 每分钟执行
        Commands\EsupdateChatFriend::class,//es更新交友聊天列表数据
        Commands\CrossRoomPkPool::class,//跨房PK-redis房间列表
        Commands\CrossRoomPkAnchorMission::class,//跨房PK 主播每日上麦任务
        Commands\CrossRoomOutTime::class,//跨房PK 邀请处理超时
        Commands\WishWheelDayStatisticsPromotion::class, //许愿转盘每日统计
        Commands\WishPoolDayStatisticsPromotion::class, //许愿池每日统计
        Commands\HopeLuckDayStatisticsPromotion::class, //心心相印每日统计
        Commands\CommandRepairRoomCharm::class,//每小时修复直播中房间的人气日周榜缓存
        Commands\CommandRepairRoomWealth::class,//每小时修复直播中房间的财富榜日周榜缓存
        Commands\CommandCreateBeforRoomRank::class,//生成昨日/上周房间榜单缓存
        Commands\CommandRedPacketRainCheck::class,//每分钟检查是否有即将开始的红包雨并发消息
        Commands\CommandColorGiftRoundChange::class,//每分钟检查彩蛋轮换概率奖池
        Commands\CommandChangeWechatPay::class,//每分钟检查切换微信商户号
        Commands\CommandUserRelationCheck::class,//每分钟检查用户亲密关系

        Commands\CommandUserExcel::class, //用户异步导出处理
        Commands\CommandShortRechargeBlack::class,//更新临时充值黑名单状态
        Commands\CommandCreateDDlog::class,//dd返利数据创建
        Commands\CommandChangeDDlog::class,//周二更新dd返利数据
        Commands\RongMsgHistory::class, //周二更新dd返利数据
        Commands\CommandSendUniverseAwardDay::class,//每日发放星辰日榜奖励
        Commands\CommandSendUniverseAwardWeek::class,//每周一凌晨零点发放上周奖励
        Commands\CommandChangeUniversePool::class,//每分钟检查高级池是否结束
        Commands\CommandCostUniverseValue::class,//每日零点扣除星辰值全服

        Commands\CheckGameWhiteAndPerson::class,//检查游戏个人池和白名单数据
        Commands\WishDefenderCountdown::class,//擂主倒计时IM
        Commands\LuckGiftBatchHandle::class,//幸运礼物批量处理
        Commands\WishDefenderDayStatisticsPromotion::class, //万神殿每日统计



        //手动执行脚本
        Commands\MakeNewUser::class,//手工生成用户
        Commands\UnionSettleAppointUnionMake::class, //对公结算数据单独某个公会的生成
        Commands\RoomBankCharmMake::class, //重新生成房间人气日榜周榜
        Commands\MakeUserGiftStatistics::class, //初始化用户收礼物统计
        Commands\CommandCreateEsIndex::class,//手动创建ES索引
        Commands\CommandCreateEsAndRedis::class,//手动创建ES索引和redis缓存
        Commands\CommandDelEsAndRedis::class,//手动删除ES索引和redis缓存
        Commands\RcRoomMake::class, //创建融云房间
        Commands\CheckPlatformLink::class, //检查服务连接状态
        Commands\CommandRepairColorData::class,//修复彩蛋数据
        Commands\RepairBagGiftBatch::class,//背包礼物批量赠送撤销
        Commands\RepairWealthCharm::class,//根据礼物流水修复财富值魅力值
        Commands\CommandShowUserWallet::class,//查询用户剩余账户余额

        Commands\TencentFaceRefreshToken::class,//更新腾讯人脸token和ticket
        Commands\InsertOrUpdateStreamData::class, //插入或更新zb_finance_union_room_stream_days表数据

        // Commands\RepairKKdatas::class,//临时修复公会结算数据
        // Commands\PksendGift::class,//公会pk实时金币奖励下发

        // Commands\BlsWithdrawFalseRepair::class, //贝灵斯提现失败数据修复
        // Commands\GiftKkRepair::class, //送礼金币数据修复
        //  Commands\SendGoodToUserCommand::class, //批量给用户发商品
        //  Commands\SendDiamondToUserCommand::class, //批量给用户发钻石

        // Commands\MakeKkStreamByUserWallet::class,//根据用户账户金额修复金币流水
        //Commands\CrossRoomPkSendDayily::class,//跨房PK每日自动结算脚本(用户日榜,房间日榜)
        //Commands\CrossRoomPkSendWeek::class,//跨房PK每周自动结算(用户周榜,房间周榜)
    ];

    /**
     * Define the application's command schedule.
     *
     * @param \Illuminate\Console\Scheduling\Schedule $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        //
    }

}
